package com.event.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 孤雏
 * @since 2021-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="User对象", description="用户表")
@JsonIgnoreProperties(ignoreUnknown = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "userid", type = IdType.AUTO)
    private Integer userid;

    @ApiModelProperty(value = "微信登录id")
    private String openid;

    @ApiModelProperty(value = "微信昵称")
    private String openname;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "智慧交大账号")
    private Long eduAccount;

    @ApiModelProperty(value = "智慧交大密码")
    private String eduPassword;

    @ApiModelProperty(value = "智慧交大加密后密码")
    private String eduEnc;

    @ApiModelProperty(value = "0为未绑定，1为正常，2为密码错误")
    private Integer eduStatus;

    @ApiModelProperty(value = "最后更新时间")
    private Date updatetime;

    @ApiModelProperty(value = "头像url")
    private String avatar;
    @ApiModelProperty(value = "班级")

    private String class0;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "生日")
    private String birth;
}
